package com.lianqi.emcpframework.data.masker.annotation;
import com.lianqi.emcpframework.data.masker.MaskFieldType;

import java.lang.annotation.*;

/**
 * @program emcp-framework
 * @description: 数据脱敏遮罩 注解
 * @author: sky
 * @create: 2019/05/25 18:34
 */
@Target({ElementType.FIELD,ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface MaskData {


    MaskFieldType masker();


    String maskCharacter() default "*";


    String expression() default "";

}
